<?php
	$title=$_POST['title'];
	$content=$_POST['content'];
	$cid = $_POST['cid'];
	
	//调用配置文件BlogService.class.php
	require_once 'BlogService.class.php';
	
	$blogService = new BlogService();
	$blogService->addBlog($title,$content,$cid);


	//跳转到发表文章管理的页面
	header("Location: blogManage.php");
?>
